package com.kdweibo.utils;

import org.apache.log4j.Logger;

public class Log {
	
	static Logger log = Logger.getLogger(Log.class.getName());
	
    public static void logDebug(String message) {
			log.debug(message);
	}

    public static void logDebug(String message,String tag) {
			log.debug(message+",tag: "+tag);
	}
    
	public static void logInfo(String message) {
			log.info(message);
	}
	public static void logInfo(String message,String tag) {
		log.info(message+",tag: "+tag);
	}
	
	public static void logerror(String message) {
		log.error(message);
}
	public static void logerror(String message,String tag) {
		log.error(message+",tag: "+tag);
}
	public static void logerror(String message,String tag,Throwable e) {
		log.error(message+",tag: "+tag,e);
}
}
